//连接mysql数据库
var mysql      = require('mysql');  
var connection = mysql.createConnection({
  host     : 'localhost',
  user     : 'root',
  password : 'root',
  database : 'yxb-blog'
});
export default connection;